- addOnCompleteHandler
void addOnCompleteHandler(IHipAssetLoadTask task, void delegate(IHipAsset) onComplete)
Undocumented in source. Be warned that the author may not have intended to support it.
- addOnLoadingFinish
void addOnLoadingFinish(void delegate() onFinish)
Undocumented in source. Be warned that the author may not have intended to support it.
- awaitLoad
void awaitLoad()
Stops the code from running and awaits asset manager to finish loading
- awaitTask
void awaitTask(HipAssetLoadTask task)
Undocumented in source. Be warned that the author may not have intended to support it.
- createTextureRegion
IHipTextureRegion createTextureRegion(IHipTexture texture, float u1, float v1, float u2, float v2)
Undocumented in source. Be warned that the author may not have intended to support it.
- createTilemap
IHipTilemap createTilemap(uint width, uint height, uint tileWidth, uint tileHeight)
Undocumented in source. Be warned that the author may not have intended to support it.
- dispose
void dispose()
Cleans everything up. Puts AssetManager in an invalid state
- get
T get(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
- get
T get(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
- getAsset
IHipAsset getAsset(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
- getStringAsset
string getStringAsset(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
- initialize
void initialize()
Undocumented in source. Be warned that the author may not have intended to support it.
- isLoading
bool isLoading()
Returns whether asset manager is loading anything
- loadAudio
IHipAssetLoadTask loadAudio(string audioPath, string f, size_t l)
This can be totally loaded on the other thread. loadSimple is enough
- loadCSV
IHipAssetLoadTask loadCSV(string path, string f, size_t l)
Undocumented in source. Be warned that the author may not have intended to support it.
- loadFile
IHipAssetLoadTask loadFile(string filePath, string f, size_t l)
Undocumented in source. Be warned that the author may not have intended to support it.
- loadFont
IHipAssetLoadTask loadFont(string fontPath, int fontSize, string f, size_t l)
Undocumented in source. Be warned that the author may not have intended to support it.
- loadINI
IHipAssetLoadTask loadINI(string path, string f, size_t l)
Undocumented in source. Be warned that the author may not have intended to support it.
- loadImage
IHipAssetLoadTask loadImage(string imagePath, string f, size_t l)
Undocumented in source. Be warned that the author may not have intended to support it.
- loadJSONC
IHipAssetLoadTask loadJSONC(string path, string f, size_t l)
Undocumented in source. Be warned that the author may not have intended to support it.
- loadTexture
IHipAssetLoadTask loadTexture(string texturePath, string f, size_t l)
Undocumented in source. Be warned that the author may not have intended to support it.
- loadTextureAtlas
IHipAssetLoadTask loadTextureAtlas(string atlasPath, string texturePath, string f, size_t l)
Undocumented in source. Be warned that the author may not have intended to support it.
- loadTilemap
IHipAssetLoadTask loadTilemap(string tilemapPath, string f, size_t l)
Undocumented in source. Be warned that the author may not have intended to support it.
- loadTileset
IHipAssetLoadTask loadTileset(string tilesetPath, string f, size_t l)
Undocumented in source. Be warned that the author may not have intended to support it.
- tilesetFromAtlas
IHipTileset tilesetFromAtlas(IHipTextureAtlas atlas)
Undocumented in source. Be warned that the author may not have intended to support it.
- tilesetFromSpritesheet
IHipTileset tilesetFromSpritesheet(Array2D_GC!IHipTextureRegion sp)
Undocumented in source. Be warned that the author may not have intended to support it.
- update
void update()
This function is responsible for calling worker's onTaskFinish on the main thread if it has one.
After that, it will execute any deferred task to the AssetManager, such as setting a HipSprite or HipFont asset.